package grid;

public class Location {
int x,y;

public Location(){
	this(0,0);
}
public Location (int x,int y){
	this.x=x;
	this.y=y;
}

public int getX(){
	return x;
}
public int getY(){
	return y;
}
public void set(int x, int y){
	this.x=x;
	this.y=y;
}
public void setX(int num){
	x=num;
}
public void setY(int num){
	y=num;
}

}
